package com.github.freewu.mvp.bean;

/**
 * @author 杨哲
 * 所有状态码
 */
public class Code {

    /**
     * 错误码
     */
    public static class E{
        //网络错误
    	public static final int NET_ERROR=-1;
        //数据错误
    	public static final int DATA_ERROR=-2;

    	public static final int Net_INTERRUPT=-3;
    	
        //无数据
    	public static final int NO_DATA=-100;
    	
    }

    /**
     * 状态码
     */
    public static class S{
        //获取数据成功
    	public static final int GET_DATA_SUCCESS=1;
    }
}
